﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
             x:Class="EnergyGeneratorSimVisualizer.Views.SimulationParameterView"
    x:Name="UserControl"
    d:DesignWidth="279.193" d:DesignHeight="167.72">

    <Grid x:Name="LayoutRoot">
        <Grid Margin="0,0,-0.001,0" d:LayoutOverrides="Width">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition  Height="Auto" />
                <RowDefinition  Height="Auto" />
                <RowDefinition  Height="Auto" />
                <RowDefinition  Height="Auto" />
                <RowDefinition  Height="Auto" />
                <RowDefinition  Height="Auto" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <TextBlock  Text="Anzahl Simulationsschritte [n]" />
            <TextBox Grid.Column="1"
                Text="{Binding AnzP, StringFormat=n0}" />

            <TextBlock Grid.Row="1"
                Text="Zeitdifferenz zw. Schritten [ns]" />
            <TextBox Grid.Row="1"
                Grid.Column="1"
                Text="{Binding Dt, StringFormat=n}" />

            <TextBlock Grid.Row="2"
                Text="Simulationsdauer [s]" />
            <TextBox Grid.Row="2"
                Grid.Column="2"
                Text="{Binding SimulationsDauer, StringFormat=n}" />
                
            <TextBlock Grid.Row="3"
                Text="Plotanfang [n]" />
            <TextBox Grid.Row="3"
                Grid.Column="1"
                Text="{Binding PlotAnfang, StringFormat=n0}" />

            <TextBlock Grid.Row="4"
                Text="Plotende [n]" />
            <TextBox Grid.Row="4"
                Grid.Column="1"
                Text="{Binding PlotEnde, StringFormat=n0}" />

            <TextBlock Grid.Row="5"
                Text="Plotschritte [n]" />
            <TextBox Grid.Row="5"
                Grid.Column="1"
                Text="{Binding PlotStep, StringFormat=n0}" />
        </Grid>
    </Grid>
</UserControl>